<div id="chat_#{_id}" class="palm-row chat-entry chatRow #{css_class}  #{accountClass}" errorCategory="#{errorCategory}" status="#{status}" messageId="#{_id}" flags="#{flags}" messageType="#{_kind}">
	<div class="palm-row-wrapper">
		<div id="chatBalloon" class="chat-balloon message #{messageTextClass} message-container">
			<div class="chat-balloon-wrapper #{messageType}">
				<!-- avatar -->
				<div class="avatar-wrapper">
					<div class="avatar-set" style="background-image:url(#{avatar})"><div class="avatar-frame"></div></div>
				</div>
				<div class="message-body">
					#{-messageContents}
				</div>
				<div class="MMSPlaceholder">
					#{-mmsAttachments}
				</div>
			</div>
			
			<!-- stylized Download button NOV-79973 NOV-97345 -->
			<div id="download_#{_id}" class="download-button" style="display:none;">
				<div id="download-button_#{_id}" class="palm-button">
					<div class="palm-button-wrapper">点击下载MMS</div>
				</div>
			</div>
			
			<!-- Chat invitation accept/decline button -->
			<div id="invite_#{_id}" style="display:none;">	
				<div id="accept-button_#{_id}" class="palm-button half-button affirmative" title="accept" x-mojo-tap-highlight="momentary">
					<div class="accept-icon"></div>
				</div>
				<div id="delete-button_#{_id}" class="palm-button half-button negative" title="decline" x-mojo-tap-highlight="momentary">
					<div class="decline-icon"></div>
				</div>
			</div>
		</div>
		
	</div>
</div>
